﻿/*
    Myrtille: A native HTML4/5 Remote Desktop Protocol client.

    Copyright(c) 2014-2017 Cedric Coste

    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
    You may obtain a copy of the License at

        http://www.apache.org/licenses/LICENSE-2.0

    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
*/

/* Windows style UI */

body
{
    padding: 0px;
    margin: 0px;
    background-color: #34495e;
    color: #ecf0f1;
}

a
{
    text-decoration: none;
    color: #ecf0f1;
}

a img
{
    border: 0;
}

*
{
    font-family: "Segoe UI";
}

/* user controls: login screen */

#loginScreen
{
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -150px;
    margin-left: -150px;
    width: 450px;
    height: 300px;
}

/* customizable logo (replace the background image by yours) */
/* remote desktop logo, credits BlackVariant (Patrick) http://blackvariant.deviantart.com */
#logo
{
    background-image: url("../img/RemoteDesktop.png");
    width: 128px;
    height: 128px;
    margin-bottom: 20px;
}

.inputDiv
{
    display: inline-block;
}

label
{
    float: left;
    width: 200px;
    margin-top: 2px;
}

#server,
#domain,
#user,
#password,
#program
{
    width: 200px;
    margin-top: 2px;
}

/* program to run is better defined into an URL, but can be enabled into the login screen */
#programLabel,
#program
{
    visibility: hidden;
    display: none;
}

#connect
{
    width: 204px;
    margin-top: 2px;
    margin-left: 200px;
    display: inline-block;
}

#version
{
    font-size: 10px;
    display: inline-block;
}

/* user controls: toolbar */

#toolbar
{
    overflow: auto;
    display: inline-block;
}

/* server info */
#serverInfo
{
    float: left;
    width: 14%;
}

/* controls */
#stat,
#debug,
#browser,
#scale,
#keyboard,
#clipboard,
#files,
#cad,
#disconnect
{
    float: left;
    width: 14%;
}

/* stat, debug and browser mode are now disabled by default (to enable for test or diagnostic, just comment out the css below and tweak the controls width above) */
#stat,
#debug,
#browser
{
    visibility: hidden;
    display: none;
}

/* background fader */

#bgfDiv
{
    position: absolute;
    visibility: hidden;
    display: none;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    filter: alpha(opacity=70);
    opacity: .70;
    -moz-opacity: 0.7;
    background-color: black;
    z-index: 300;
}

/* popups */

.modalPopup
{
    position: absolute;
    overflow: hidden;
    left: 10%;
    top: 10%;
    width: 35%;
    height: 35%;
    background-color: silver;
    z-index: 400;
}

#virtualKeyboardPopup
{
    width: 470px;
    height: 290px;
}

#showDialogPopup
{
    width: 470px;
    height: 240px;
}

#fileStoragePopup
{
    width: 470px;
    height: 130px;
}

#virtualKeyboardPopupDesc,
#showDialogPopupDesc,
#fileStoragePopupDesc
{
    font-weight: bold;
}

#virtualKeyboardPopupText,
#showDialogPopupText
{
    width: 425px;
	height: 150px;
    margin-bottom: 5px;
}

#fileToDownloadSelect
{
    width: 250px;
}

/* remote session display */

#displayDiv
{
    position: absolute;
    z-index: 100;
}

/* remote session display: canvas */

canvas
{
	position: absolute;
    z-index: 100;
}

/* remote session display: divs */

.imageDiv
{
	position: absolute;
	background-repeat: no-repeat;
	overflow: hidden;
	z-index: 100;
}

/* remote session helpers */

#statDiv
{
    position: absolute;
    visibility: hidden;
	display: none;
	float: left;
	font-size: 10px;
	border: none;
	background-color: black;
	color: lightgrey;
	z-index: 200;
}

#debugDiv
{
	position: absolute;
    visibility: hidden;
    display: none;
	font-size: 12px;
	background-color: lightgrey;
    color: black;
	z-index: 200;
}

#msgDiv
{
	position: absolute;
	visibility: hidden;
    display: none;
	font-size: 18px;
	font-weight: bold;
    overflow: hidden;
	background-color: red;
	color: white;
	z-index: 200;
}

#kbhDiv
{
	position: absolute;
	visibility: hidden;
	display: none;
	font-size: 18px;
	font-weight: bold;
	text-align: left;
	background-color: #FAF8CC;
	color: black;
	z-index: 200;
}